﻿using MediatR;
using TaskProject.ErrorCode;

namespace TaskProject.Application.Command.Production
{
    public class AddWorkOrderCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 工单编号
        /// </summary>
        public string WorkOrderCode { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkOrderName { get; set; }
        /// <summary>
        /// 负责人外键
        /// </summary>
        public int LeaderId { get; set; }
        /// <summary>
        /// 工序数量
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string WorderOrderDesc { get; set; }
        /// <summary>
        /// 工单日期
        /// </summary>
        public DateTime WorkOrderDate { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
    }
}
